Definition at line 39 of file CMouse.hpp.
| Exponent::GUI::Windowing::CMouse::CMouse | ( | const CPoint & | point, | |
| CCursor * | cursor = &CCursor::CCURSOR_ARROW | |||
| ) |
Construction
| point | The mouse position | |
| cursor | The cursor to use |
| Exponent::GUI::Windowing::CMouse::CMouse | ( | LPARAM | lParam, | |
| CCursor * | cursor = &CCursor::CCURSOR_ARROW | |||
| ) |
Construction
| lParam | The mouse position as a window LPARAM | |
| cursor | The cursor to use |
| Exponent::GUI::Windowing::CMouse::CMouse | ( | ) |
Construction
| virtual Exponent::GUI::Windowing::CMouse::~CMouse | ( | ) | [virtual] |
Destruction
| void Exponent::GUI::Windowing::CMouse::capture | ( | SWindowHandle * | windowHandle | ) | const |
Capture the mouse
| windowHandle | The window to capture |
| CCursor* Exponent::GUI::Windowing::CMouse::getCursor | ( | ) | const [inline] |
Get the cursor
| CCursor* | The cursor that is being used |
Definition at line 87 of file CMouse.hpp.
References m_cursor.
| const CPoint& Exponent::GUI::Windowing::CMouse::getPosition | ( | ) | const [inline] |
Get the position
| const | CPoint& The position of the mouse |
Definition at line 113 of file CMouse.hpp.
References m_position.
| long Exponent::GUI::Windowing::CMouse::getXPosition | ( | ) | const [inline] |
Get the xposition
| long | The X Position of the mouse |
Definition at line 119 of file CMouse.hpp.
References Exponent::MathTools::CPoint::getXPosition(), and m_position.
| long Exponent::GUI::Windowing::CMouse::getYPosition | ( | ) | const [inline] |
Get the y position
| long | The Y Position of the mouse |
Definition at line 125 of file CMouse.hpp.
References Exponent::MathTools::CPoint::getYPosition(), and m_position.
| bool Exponent::GUI::Windowing::CMouse::isCaptured | ( | ) | const |
Check if the mouse is captured
| bool | True if captured, false otherwise |
| bool Exponent::GUI::Windowing::CMouse::isCaptured | ( | SWindowHandle * | windowHandle | ) | const |
Check if the mouse is captured by a specific window
| windowHandle | The window to check against |
| bool | True if captured, false otherwise |
| void Exponent::GUI::Windowing::CMouse::release | ( | ) | const |
Release the mouse
| void Exponent::GUI::Windowing::CMouse::setCursor | ( | CCursor * | cursor = &CCursor::CCURSOR_ARROW |
) |
Set the cursor
| cursor | The cursor to use |
| void Exponent::GUI::Windowing::CMouse::setPosition | ( | LPARAM | lParam | ) |
Set the position
| lParam | The mouse position as a window LPARAM |
| void Exponent::GUI::Windowing::CMouse::setPosition | ( | const CPoint & | point | ) |
Set the position of the mouse
| point | The mouse position |
CCursor* Exponent::GUI::Windowing::CMouse::m_cursor [protected] |
CPoint Exponent::GUI::Windowing::CMouse::m_position [protected] |
The mouse position
Definition at line 159 of file CMouse.hpp.
Referenced by getPosition(), getXPosition(), and getYPosition().